package com.sxkj.entity.entity.sys;

import com.sxkj.entity.base.DataEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;


@Data
public class User extends DataEntity<User> {
    @ApiModelProperty(value = "ID")
    private String id;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "密码盐")
    private String salt;

    @ApiModelProperty(value = "是否在线")
    private Boolean isOnline;

    @ApiModelProperty(value = "是否禁用")
    private Boolean disabled;

    private String email;

    @ApiModelProperty(value = "登陆时间")
    private Integer loginAt;

    @ApiModelProperty(value = "登陆IP")
    private String loginIp;

    @ApiModelProperty(value = "登陆次数")
    private Integer loginCount;

    @ApiModelProperty(value = "常用菜单")
    private String customMenu;

    @ApiModelProperty(value = "皮肤样式")
    private String loginTheme;

    private Boolean loginSidebar;

    private Boolean loginBoxed;

    private Boolean loginScroll;

    private Boolean loginPjax;

    @ApiModelProperty(value = "组织机构ID")
    private String unitId;

    @ApiModelProperty(value = "附属表ID")
    private String attachId;

    @ApiModelProperty(value = "电话号")
    private String phone;

    @ApiModelProperty(value = "微信唯一标识unionId")
    private String unionId;

    @ApiModelProperty(value = "微信的openId")
    private String openId;



    @ApiModelProperty(value = "昵称")
    private String nickName;



    /**临时字段**/
    private String roleIds;
    private String roleNames;


    private static final long serialVersionUID = 1L;


}